package NvWa_SimpleFactory_01.Impl;
import NvWa_SimpleFactory_01.Interface.Person;

public class Robot implements Person {
    @Override
    public void show() {
        System.out.println("I am a robot.");
    }

    @Override
    public void eat() {
        System.out.println("Robot is eating.");
    }

    @Override
    public void sleep() {
        System.out.println("Robot is sleeping.");
    }

    @Override
    public void work() {
        System.out.println("Robot is working.");
    }
}
